<!DOCTYPE HTML>
<html>
    <head>
        <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
        <script type="text/javascript" src="TimeCircles.js"></script>
        <link rel="stylesheet" href="TimeCircles.css" />
    </head>
    <body>
            <div class="someTimer" data-date="2014-01-01 00:00:00" style="width: 100%; height: 125px; padding: 0px; box-sizing: border-box"></div>
        <script>
            var timeCircles = $(".someTimer").TimeCircles();

            // Fade in and fade out are examples of how chaining can be done with TimeCircles
            $(".fadeIn").click(function() {
                timeCircles.elements.last().fadeIn();
            });
            $(".fadeOut").click(function() {
                timeCircles.elements.last().fadeOut();
            });

            // Start and stop are methods applied on the public TimeCircles instance
            $(".startTimer").click(function() {
                $(".someTimer").eq(1).TimeCircles().start();
            });
            $(".stopTimer").click(function() {
                $(".someTimer").eq(1).TimeCircles().stop();
            });

        </script>
    </body>
</html>